package adapter;

public class Adaptor extends Target{
    private Adaptee adaptee;
  
   public Adaptor(Adaptee adaptee){
	   this.adaptee = adaptee;
   }
	
   public void targetRequest(){
		if(adaptee != null)
			adaptee.adapteeRequest();
		else
			super.targetRequest();
	}
   
}
